package com.lanou.service.T8TService;

import com.github.pagehelper.PageInfo;
import com.lanou.bean.T8Tcommodity.Brand;
import com.lanou.bean.T8Tcommodity.Commodity;
import com.lanou.bean.T8Tcommodity.Img;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by dllo on 18/3/17.
 */
public interface T8TService {
    List<Commodity> findCommodity(
                                   Integer SD,
                                   Integer PA,
                                   Integer C1ID,
                                   Integer C2ID,
                                   Integer C3ID,
                                   Integer C4ID,
                                   Double priceMax,
                                   Double priceMin);
    List<Brand> findBrand( Integer C2ID,
                           Integer C3ID);

    public PageInfo<Commodity> findCommodityPage(Integer pageNo,
                                                 Integer pageSize,
                                                 Integer SD,
                                                 Integer PA,
                                                 Integer C1ID,
                                                 Integer C2ID,
                                                 Integer C3ID,
                                                 Integer C4ID,
                                                 Double priceMax,
                                                 Double priceMin);
    Commodity findCommodityBycommodityID(Integer commodityID);

}
